namespace go relationserver

struct User{
    1:i64 ID
    2:string Name
    3:i64 FollowCount
    4:i64 FollowerCount
    5:bool IsFollow
}

struct FollowUserRequest{
    1:User user
    2:i64 followerUserId
}
struct FollowUserResponse{
}


struct DisFollowUserRequest{
    1:User user
    2:i64 followerUserId
}

struct DisFollowUserResponse{
}

struct GetFollowListRequest{
    1:User user
}

struct GetFollowListResponse{
    1:list<User> resultList
}

service RelationService {
    FollowUserResponse FollowUser (1:FollowUserRequest req)
    DisFollowUserResponse DisFollowUser (1:DisFollowUserRequest req)
    GetFollowListResponse GetFollowList (1:GetFollowListRequest req)
}



